package com.ruoyi.project.system.mapper;

import java.util.List;

import com.ruoyi.project.system.domain.SysUserParise;

/**
 * 用户动态点赞Mapper接口
 *
 * @author jjp
 * @date 2020-04-16
 */
public interface SysUserPariseMapper {
    /**
     * 查询用户动态点赞
     *
     * @param pariseId 用户动态点赞ID
     * @return 用户动态点赞
     */
    public SysUserParise selectSysUserPariseById(Long pariseId);

    /**
     * 查询用户动态点赞列表
     *
     * @param sysUserParise 用户动态点赞
     * @return 用户动态点赞集合
     */
    public List<SysUserParise> selectSysUserPariseList(SysUserParise sysUserParise);

    /**
     * 新增用户动态点赞
     *
     * @param sysUserParise 用户动态点赞
     * @return 结果
     */
    public int insertSysUserParise(SysUserParise sysUserParise);

    /**
     * 修改用户动态点赞
     *
     * @param sysUserParise 用户动态点赞
     * @return 结果
     */
    public int updateSysUserParise(SysUserParise sysUserParise);

    /**
     * 删除用户动态点赞
     *
     * @param pariseId 用户动态点赞ID
     * @return 结果
     */
    public int deleteSysUserPariseById(Long pariseId);

    /**
     * 批量删除用户动态点赞
     *
     * @param pariseIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysUserPariseByIds(Long[] pariseIds);

    public List<SysUserParise> selectSysUserPariseByDynamicId(Long dynamicId);
}
